{% extends 'base_registration.html' %}

{% block title %}account activation{% endblock %}

{% block content %}
{% load humanize %}
{% if account %}
<p>you successfully registered. you can now <a href="{% url auth_login %}">log in</a></p>
{% else %}
<p>either your activation link was incorrect or you've already registered and you just need to <a href="{% url auth_login %}">log in</a>.</p>
<p>activation keys expire {{ expiration_days|apnumber }} days after registration so if you initiated registration too long ago, 
you might have to start the <a href="{% url registration_register %}">registration</a> process over.</p>
{% endif %}
{% endblock %}